<%- include ./res/header.ejs %>
<div class="container">
    <table class="table table-hover table-striped">
        <thead class="success">
        <tr class="success">
            <th>ID</th>
            <th>姓名</th>
            <th>手机</th>
            <th>微信号</th>
            <th>留言</th>
        </tr>
        </thead>
        <tbody>
        <% acts.forEach(function(act, index){%>
        <tr>
            <td><%= index %></td>
            <td><%= act.name %></td>
            <td><%= act.tel%></td>
            <td><%= act.wxh%></td>
            <td><%= act.message%></td>
        </tr>
        <% }) %>
        </tbody>
    </table>
</div>
<script type="text/javascript" src="/javascripts/url_parser.js"></script>
<script>
    window.onload = function(){
        var id = getParameter("id");
        console.log(id);
    }
</script>
<%- include ./res/footer.ejs %>